Public: Concord Software Projects : On The Fly Workgroups
This page last changed on Apr 28, 2010 by aunger.
See screencasts: http://screencast.com/t/MWZlNGI3M
http://screencast.com/t/NDY2NGMw
Notes about this from an email: Aaron Unger says: I've finished my work on getting on-the-fly workgroups working for projects, and have set up the staging environment for RI-ITEST to use the new system so that you can test it out. What this does: Portal: http://ri-itest.portal.dev.concord.org/ To test it, set up a class with several members. Sign in as one of the members and launch the activity. Then select some other workgroup members. Answer some questions in the activity, then quit. Wait 5-10 minutes to make sure the processing on the server has happened. Then sign-in and launch the activity as one of the other workgroup members. You should see all of your previous work. You'll need to use the Chemical Bonds (v1) activity, as that's the only one I've set up to use the new workgroup chooser. How this works: This code uses a number of new features in the DIY, the SDS and OTrunk: The actual flow: NOTE: The bundle copying happens asynchronously, which means there will be a variable time gap between when the original bundle was posted and when one of the other workgroup members would be able to sign in and see the work (how long depends on things like server load, how many bundles are in the queue to be processed, etc.). This leads to a potential race condition where the data could potentially get "lost", but as long as workgroups aren't switching student accounts in the middle of a class, I don't think it will be a problem. and a followup email: Good questions. If any of the other members of a group have previously run the activity, they will no longer see their old data. They will inherit the data as it exists for the workgroup leader ("leader" just indicates which user signed into the portal and launched the activity). So for instance: likewise, if instead User 4 leaves Workgroup B to join Workgroup A, then the data would look like: The data that gets save back to the server is everything that the user/workgroup has modified. So if the user only fills in one text box, then only what they filled in gets sent to the server. This, however, is cumulative. So if they launch the activity for a second time, alter a different text box and leave the first one unchanged, they will still send back the contents of both text boxes. This isn't usually a problem, except in the case of things like snapshots which are very data intensive... Scott and I were discussing ways to extract the raw snapshot data out of the student session data so that it doesn't need to get transferred back and forth so much. – Aaron On Jan 30, 2009, at 1:58 PM, Dan Damelin wrote: Thanks Aaron. I'll test this out on Monday. What happens when the lead user selects some group members to work with, but some of them have worked on the activity already. It might be possible in a group of three running the activity for a second time, that there are already three distinct sets of data on the server to be retrieved. Which data gets populated into the activity when it restores the user data? Also, what happens when a user is part of one group on day 1, but then switches to a new group on day 2. Does the original data from day 1 get overwritten by the data from day 2? And a related question: When closing an activity is ALL of the data uploaded from the entire activity, or just the changed data? -Dan |
Document generated by Confluence on Jan 27, 2014 16:52 |